package com.kingyea.mobilepolice.apimanage.test.service;

import com.kingyea.mobilepolice.apimanage.test.bean.Test;
import com.kingyea.mobilepolice.apimanage.utils.ws.bean.AttachmentWrapper;

import javax.activation.DataHandler;
import javax.jws.WebService;
import java.util.HashMap;
import java.util.List;

@WebService
//@Path("/hello")
public interface HelloWorld {
    //	@GET
//	@Path("/say")
    String say();

    //	@GET
//	@Path("/speak")
    String speak();

    //	@GET
//	@Path("/sayHello/{foo}")
    String sayHello(/*@PathParam("foo")*/ String foo);

    String saySelfInfo(String name, Integer age);

    Test saySomeThings(String name, Integer age, Double money, String aaa);

    String talkNonsense(HashMap<String, Object> map);

    //	@POST
//	@Path("/upload")
    String upload(String xml, final List<AttachmentWrapper> attachments);

    //	@XmlMimeType("*/*")
    boolean uploadFile(String fileName, DataHandler dataHandler);

    Test test1();
}
